﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SmartPlant.Model.DbContext
{
    public class Panel
    {
        #region 1

        #endregion
        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_ID", IsPrimaryKey = true)]
        public decimal PanelId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PROJ_ID")]
        public decimal ProjId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SITE_ID")]
        public decimal SiteId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_NUM")]
        public decimal ChgNum { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PLANT_ID")]
        public decimal PlantId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "UNIT_ID")]
        public decimal UnitId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "USER_NAME")]
        public string UserName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_STATUS")]
        public string ChgStatus { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_DATE")]
        public DateTime? ChgDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_NAME")]
        public string PanelName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_MFR_ID")]
        public decimal PanelMfrId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_MOD_ID")]
        public decimal PanelModId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_TYPE_ID")]
        public decimal PanelTypeId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "BACKPLANE1")]
        public string Backplane1 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "BACKPLANE2")]
        public string Backplane2 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MOUNTING1")]
        public string Mounting1 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MOUNTING2")]
        public string Mounting2 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DIMENSIONS")]
        public string Dimensions { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "AREA_CLASS_ID")]
        public decimal? AreaClassId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "IS_CERT")]
        public string IsCert { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MAX_VOLT")]
        public decimal? MaxVolt { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MAX_CURRENT")]
        public decimal? MaxCurrent { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MAX_POWER")]
        public decimal? MaxPower { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "POWER_UOM_ID")]
        public decimal PowerUomId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "RESIST")]
        public decimal? Resist { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "RESIST_UOM_ID")]
        public decimal ResistUomId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "INDUCT")]
        public decimal? Induct { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "INDUCT_UOM_ID")]
        public decimal InductUomId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CAPACITY")]
        public decimal? Capacity { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CAPAC_UOM_ID")]
        public decimal CapacUomId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "IND_REST_RATIO")]
        public decimal? IndRestRatio { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "AREA_ID")]
        public decimal? AreaId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "LOCATION")]
        public string Location { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_CATEGORY_ID")]
        public decimal? PanelCategoryId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DEF_FLG")]
        public string DefFlg { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CS_NETWORK_NO")]
        public string CsNetworkNo { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CS_NODE_NO")]
        public string CsNodeNo { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CABINET_TYPE")]
        public string CabinetType { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_NOTE")]
        public string PanelNote { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_CATEGORY_SEQ")]
        public decimal PanelCategorySeq { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_LOC_ID")]
        public decimal PanelLocId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "FIRST_RACK_POS_NUM")]
        public string FirstRackPosNum { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REV_ID")]
        public decimal? RevId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ENG_PROJ_ID")]
        public decimal? EngProjId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ENG_REF_ID")]
        public decimal? EngRefId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MAX_LOAD")]
        public decimal? MaxLoad { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "TC_LINE_NUMBER_ID")]
        public decimal? TcLineNumberId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_SUB_CATEGORY")]
        public decimal? PanelSubCategory { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MAX_LOAD_UOM_ID")]
        public decimal? MaxLoadUomId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ACT_LOAD_UOM_ID")]
        public decimal? ActLoadUomId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ACT_LOAD")]
        public decimal? ActLoad { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "TC_NET_CLS_ID")]
        public decimal? TcNetClsId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "TC_SUB_SYS_ID")]
        public decimal? TcSubSysId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CONNECTION_FLG")]
        public string ConnectionFlg { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_PROC_ID")]
        public decimal? PanelProcId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REQUIRES_POWER_SUPPLY")]
        public string RequiresPowerSupply { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "RELATED_VOLTAGE_ID")]
        public decimal? RelatedVoltageId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "FREQUENCY_ID")]
        public decimal? FrequencyId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "NUMBER_OF_PHASES_ID")]
        public decimal? NumberOfPhasesId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "OPERATING_MODE_ID")]
        public decimal? OperatingModeId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "RATED_VOLTAGE_ID")]
        public decimal? RatedVoltageId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "FULL_LOAD_CURRENT")]
        public decimal? FullLoadCurrent { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "STARTING_CURRENT")]
        public decimal? StartingCurrent { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "RATED_ACTIVE_LOAD")]
        public decimal? RatedActiveLoad { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "RATED_APPARENT_LOAD")]
        public decimal? RatedApparentLoad { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "RATED_REACTIVE_LOAD")]
        public decimal? RatedReactiveLoad { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "POWER_SUPPLY_TYPE_FLAG")]
        public string PowerSupplyTypeFlag { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "POWER_DISTRIBUTION_BOARD")]
        public string PowerDistributionBoard { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CELL")]
        public string Cell { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ZZCOINCIDENCEFACTOR")]
        public decimal? Zzcoincidencefactor { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ZCOINCIDENCEFACTOR")]
        public decimal? Zcoincidencefactor { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "YCOINCIDENCEFACTOR")]
        public decimal? Ycoincidencefactor { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "XCOINCIDENCEFACTOR")]
        public decimal? Xcoincidencefactor { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PHASE1")]
        public string Phase1 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PHASE2")]
        public string Phase2 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PHASE3")]
        public string Phase3 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "POWER_FACTOR_FULL_LOAD")]
        public decimal? PowerFactorFullLoad { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PIPE_CLASS_ID")]
        public decimal? PipeClassId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_CRITICAL_ID")]
        public decimal? CmpntCriticalId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CIRCUIT")]
        public string Circuit { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PANEL_TRANS_NAME")]
        public string PanelTransName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "COMPLY_WITH_NC_FLG")]
        public string ComplyWithNcFlg { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "FB_SHORT_CIRCUIT_PRETECTION")]
        public decimal? FbShortCircuitPretection { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "FB_OPEN_CIRCUIT_VOLTAGE")]
        public decimal? FbOpenCircuitVoltage { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "FB_CURRENT_CONSUMPTION")]
        public decimal? FbCurrentConsumption { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "FB_USER_CURRENT_CONSUMPTION")]
        public decimal? FbUserCurrentConsumption { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "TC_PABX_CATEGORY_ID")]
        public decimal? TcPabxCategoryId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DP_PROFIBUS_FLG")]
        public string DpProfibusFlg { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "WIRE_GROUP_ID")]
        public decimal WireGroupId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PROFIBUS_NODE")]
        public string ProfibusNode { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PARENT_ID")]
        public decimal ParentId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MAX_RACKS")]
        public decimal? MaxRacks { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DWG_ID")]
        public decimal DwgId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_TOTALPLANT")]
        public string KksTotalplant { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_FUNCTION_KEY_PREFIX")]
        public string KksFunctionKeyPrefix { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_FUNCTION_KEY")]
        public string KksFunctionKey { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_FUNCTION_KEY_SEQUENCE")]
        public string KksFunctionKeySequence { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_EQUIPMENT_UNIT_CODE")]
        public string KksEquipmentUnitCode { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_EQUIPMENT_UNIT_SEQUENCE")]
        public string KksEquipmentUnitSequence { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_EQUIPMENT_UNIT_ADD_CODE")]
        public string KksEquipmentUnitAddCode { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_COMPONENT_KEY")]
        public string KksComponentKey { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "KKS_COMPONENT_KEY_SEQUENCE")]
        public string KksComponentKeySequence { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MULTI_INPUT_IO_ENABLED")]
        public string MultiInputIoEnabled { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MERGE_RELEASE_FLG")]
        public string MergeReleaseFlg { get; set; }
    }
}
